<script lang="ts" setup>
const config = ref({
  name: {
    prop: 'name',
    componentName: 'elInput',
    label: '组件名称',
    rules: ['required']
  },
  name1: {
    prop: 'name1',
    componentName: 'elInput',
    label: '组件名称2',
    rules: ['required']
  },
  name2: {
    prop: 'name2',
    componentName: 'elInput',
    label: '组件名称3',
    rules: ['required']
  }
})
</script>
<template>
  <div class="justify-center flex justify-center mt-100px">
    <div class="w-900px h-300px">
      <DesignForm :config="config"></DesignForm>
    </div>
  </div>
</template>

